import { observable, action } from 'mobx'

class DataApprovalModel {
    @observable authList = []
    @observable consortium = { id: '', mode: '' }
    @action setAuth(authList) {
      this.authList = authList
    }
    @action getAuth() {
      return this.authList
    }
    @action removeAuth() {
      this.authList = []
    }
    @action setConsortium(consortium) {
      this.consortium = consortium
    }
    @action getConsortium() {
      return this.consortium
    }
}

export default new DataApprovalModel()

